package org.itboys.core.entity.mysql.pay;


import lombok.Data;
import org.itboys.mysql.entity.BaseMySqlEntity;

import java.math.BigDecimal;

/**
*@Author: jiaqilei
*@Date: 9:45 2018/11/29
*@Discription: 预支付
*/
@Data
public class SundayPay extends BaseMySqlEntity {
	private String orderNo;//传入第三方支付的外部订单号，建议时间戳+12位随机字符
    private String orderIds;//实际对应圣代项目中的订单Id,字符串集合。例如：orderIds = 1-2-3-4。达到批量付款
	private BigDecimal payAmount;//本次支付需要支付的金额
	private Integer type;//1,余额充值
    private String remark;//备注。本次支付的描述。建议：项目名称+type

	public SundayPay() {
	}

	public SundayPay(String orderNo, String orderIds, BigDecimal payAmount, Integer type, String remark) {
		this.orderNo = orderNo;
		this.orderIds = orderIds;
		this.payAmount = payAmount;
		this.type = type;
		this.remark = remark;
	}
}
